package dongshi.daddy.byzantine.signature;

public class Order {
    // 原始消息
    private String msg;
    // 摘要，保证消息完整性
    private String digest;
    // 数字签名
    private String signature;
    // 自己的身份
    private String whoAmI;
    // 自己收到的上一个指令
    private Order originOrder;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getWhoAmI() {
        return whoAmI;
    }

    public void setWhoAmI(String whoAmI) {
        this.whoAmI = whoAmI;
    }

    public Order getOriginOrder() {
        return originOrder;
    }

    public void setOriginOrder(Order originOrder) {
        this.originOrder = originOrder;
    }
}
